﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CqusInfo.DAL.User;

namespace CqusInfo.BLL.User
{
    public class User_InfoToLoveBLL:Inteface.IUser_InfoToLoveBLL
    {
        private static readonly User_InfoToLoveDAL userDal = new User_InfoToLoveDAL();
        public List<RAL.User.User_InfoToLoveModel> Query_ByUserName(string userName)
        {
            return userDal.Query_ByUserName(userName);
        }

        public Int32 Add(string userName, RAL.User.User_InfoToLoveModel model)
        {
            return userDal.Add(userName, model);
        }

        public Int32 Update(string userName, RAL.User.User_InfoToLoveModel model)
        {
            return userDal.Update(userName, model);
        }

        public Int32 Delete(string userName)
        {
            return userDal.Delete(userName);
        }
    }
}
